package xyz.playedu.inspection.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

//@EqualsAndHashCode(callSuper = true)//callSuper = true 这个参数意味着生成的 equals() 和 hashCode() 方法会调用超类（父类）的相应方法。
@TableName(value = "device_type_dict")
@Data
public class DeviceTypeDict extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("device_type")
    private String deviceType;

    @TableField("device_type_code")
    private String deviceTypeCode;
}
